<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of drPorjectConfiguration
 *
 * @author sluag2000
 */
class drProjectConfiguration {
    private $folders;
    protected function __construct() {}
    
    public function getInstance(){
      static $instance;
      if(!isset($instance)) {
         $instance = new drProjectConfiguration();
      }
      return $instance;
    }
    
    public function setFolders($config_array)
    {
        foreach($config_array as $key=>$value)
        {
            $this->folders[$key] = $value;
        }
    }
    
    public function setFolder($folder, $path)
    {
        
    }
    
    public function getWebFolder()
    {
        if(isset($this->folders['web'])){
           return $this->folders['web'];
        }else{
           return null;
        }
    }
} 

?>
